package com.iaiai.cobra.repository.bean;

import lombok.Data;

import java.util.Date;

/**
 * Created with LogRequest.
 * Package: com.iaiai.cobra.repository.bean
 * Author: iaiai
 * Create Time: 2024/7/26 21:56
 * QQ: 176291935
 * Email: 176291935@qq.com
 * Description: 请求日志
 */
@Data
public class LogRequest {

    private Long id;

    private String ipv4;

    private String ipv6;

    private String ipAddress;   //ip地址

    private Date createTime;    //创建时间

    private Long duration;   //处理时长

    private String method;  //请求方式，get/post/put等

    private String headers; //头信息

    private String url; //完整的url地址

    private String userAgent;   //请求头中的ua头

    private String body;    //提交的内容

}
